package ooday02;

public class student extends person {
    String classname;
    String stuid;

    student(int age,String name, String address,String classname,String stuid){
       super(name,address,age);
        this.classname=classname;
        this.stuid=stuid;
    }
    void eat(){
        System.out.println(classname+name+"正在吃饭");
    }
    void study(){
        System.out.println(name+"在"+classname+"学习");
    }
}
